package com.zzxy.spring12.service.impl;

import com.zzxy.spring12.service.ITeacherService;
import org.springframework.stereotype.Service;

@Service("teacherService")
public class TeacherServiceImpl implements ITeacherService {
    @Override
    public int addUser() {
        System.out.println("add user ..");
//        int i=1/0;
        return 1111;
    }

    @Override
    public void deleteUser() {
        System.out.println("delete user ..");
    }

    @Override
    public void updateuser() {
        System.out.println("update user ..");
    }
}
